﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using POSSystem.DAL;

namespace POSSystem.BLL
{
    public class RepairStatus : _RepairStatus
    {
        public static RepairStatus GetUnFinishStatus()
        {
            RepairStatus status = new RepairStatus();
            status.Where.ID.Value = RepairStatus.Returned;
            status.Where.ID.Operator = MyGeneration.dOOdads.WhereParameter.Operand.NotEqual;
            status.Query.Load();

            return status;
        }

        public const int NoStatus = 0;
        public const int OKGA = 1;
        public const int Waiting = 2;
        public const int NewQuote = 3;
        public const int Done = 4;
        public const int Rejected = 5;
        public const int CalledCustomer = 6;
        public const int Returned = 7;
    }
}
